Integrand size = 15, antiderivative size = 110 \[ \int \sqrt {\sin \left (a+b \log \left (c x^n\right )\right )} \, dx=\frac {2 x \operatorname {Hypergeometric2F1}\left (-\frac {1}{2},-\frac {2 i+b n}{4 b n},\frac {1}{4} \left (3-\frac {2 i}{b n}\right ),e^{2 i a} \left (c x^n\right )^{2 i b}\right ) \sqrt {\sin \left (a+b \log \left (c x^n\right )\right )}}{(2-i b n) \sqrt {1-e^{2 i a} \left (c x^n\right )^{2 i b}}} \]
[Out]
Time = 0.09 (sec) , antiderivative size = 110, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {4571, 4579, 371} \[ \int \sqrt {\sin \left (a+b \log \left (c x^n\right )\right )} \, dx=\frac {2 x \operatorname {Hypergeometric2F1}\left (-\frac {1}{2},-\frac {b n+2 i}{4 b n},\frac {1}{4} \left (3-\frac {2 i}{b n}\right ),e^{2 i a} \left (c x^n\right )^{2 i b}\right ) \sqrt {\sin \left (a+b \log \left (c x^n\right )\right )}}{(2-i b n) \sqrt {1-e^{2 i a} \left (c x^n\right )^{2 i b}}} \]
[In]
[Out]
Rule 371
Rule 4571
Rule 4579
Rubi steps \begin{align*} \text {integral}& = \frac {\left (x \left (c x^n\right )^{-1/n}\right ) \text {Subst}\left (\int x^{-1+\frac {1}{n}} \sqrt {\sin (a+b \log (x))} \, dx,x,c x^n\right )}{n} \\ & = \frac {\left (x \left (c x^n\right )^{\frac {i b}{2}-\frac {1}{n}} \sqrt {\sin \left (a+b \log \left (c x^n\right )\right )}\right ) \text {Subst}\left (\int x^{-1-\frac {i b}{2}+\frac {1}{n}} \sqrt {1-e^{2 i a} x^{2 i b}} \, dx,x,c x^n\right )}{n \sqrt {1-e^{2 i a} \left (c x^n\right )^{2 i b}}} \\ & = \frac {2 x \operatorname {Hypergeometric2F1}\left (-\frac {1}{2},-\frac {2 i+b n}{4 b n},\frac {1}{4} \left (3-\frac {2 i}{b n}\right ),e^{2 i a} \left (c x^n\right )^{2 i b}\right ) \sqrt {\sin \left (a+b \log \left (c x^n\right )\right )}}{(2-i b n) \sqrt {1-e^{2 i a} \left (c x^n\right )^{2 i b}}} \\ \end{align*}
Time = 9.87 (sec) , antiderivative size = 148, normalized size of antiderivative = 1.35 \[ \int \sqrt {\sin \left (a+b \log \left (c x^n\right )\right )} \, dx=\frac {i \sqrt {2} x \sqrt {-i e^{-i a} \left (c x^n\right )^{-i b} \left (-1+e^{2 i a} \left (c x^n\right )^{2 i b}\right )} \operatorname {Hypergeometric2F1}\left (-\frac {1}{2},-\frac {2 i+b n}{4 b n},\frac {3}{4}-\frac {i}{2 b n},e^{2 i a} \left (c x^n\right )^{2 i b}\right )}{(2 i+b n) \sqrt {1-e^{2 i a} \left (c x^n\right )^{2 i b}}} \]
[In]
[Out]
\[\int \sqrt {\sin \left (a +b \ln \left (c \,x^{n}\right )\right )}d x\]
[In]
[Out]
Exception generated. \[ \int \sqrt {\sin \left (a+b \log \left (c x^n\right )\right )} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
\[ \int \sqrt {\sin \left (a+b \log \left (c x^n\right )\right )} \, dx=\int \sqrt {\sin {\left (a + b \log {\left (c x^{n} \right )} \right )}}\, dx \]
[In]
[Out]
\[ \int \sqrt {\sin \left (a+b \log \left (c x^n\right )\right )} \, dx=\int { \sqrt {\sin \left (b \log \left (c x^{n}\right ) + a\right )} \,d x } \]
[In]
[Out]
\[ \int \sqrt {\sin \left (a+b \log \left (c x^n\right )\right )} \, dx=\int { \sqrt {\sin \left (b \log \left (c x^{n}\right ) + a\right )} \,d x } \]
[In]
[Out]
Timed out. \[ \int \sqrt {\sin \left (a+b \log \left (c x^n\right )\right )} \, dx=\int \sqrt {\sin \left (a+b\,\ln \left (c\,x^n\right )\right )} \,d x \]
[In]
[Out]